Skip to content

graphai


graphai / assert

Function: assert()

assert(condition, message, isWarn): asserts condition

Defined in: packages/graphai/src/utils/utils.ts:30

Parameters

condition

boolean

message

string

isWarn

boolean = false

Returns

asserts condition

Released under the MIT License.