is_loss: Check Whether an Object is a metANN Loss

View source: R/losses.R

is_lossR Documentation

Check Whether an Object is a metANN Loss

Description

Check Whether an Object is a metANN Loss

Usage

is_loss(x)

Arguments

x

An object.

Value

TRUE if x is a metANN loss object; otherwise FALSE.

Examples

is_loss(loss_mse())

metANN documentation built on May 16, 2026, 1:06 a.m.