Skip to content

Documentation


Documentation / @blazetrails/activesupport / presenceIn

Function: presenceIn() ​

presenceIn<T>(value, anotherObject): T | null

Defined in: packages/activesupport/lib/core-ext/object/inclusion.ts:23

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
valueT
anotherObjectstring | Record<string, unknown> | Range<T> | Set<T> | Map<T, unknown> | T[]

Returns ​

T | null

Missing Rails Args ​

in? — PERMANENT