Skip to main content

core.singularize

Home > @medplum/core > singularize

singularize() function

Signature:

export declare function singularize<T>(value: T | T[] | undefined): T | undefined;

Parameters

Parameter

Type

Description

value

T | T[] | undefined

Returns:

T | undefined