Skip to main content

Function: _endsWith()

_endsWith(suffix, params?): $ZodCheckEndsWith

Defined in: packages/agentos/node_modules/zod/v4/core/api.d.cts:208

Parameters

suffix

string

params?

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueInvalidStringFormat>; message?: string; }

abort?

boolean

If true, no later checks will be executed if this check fails. Default false.

error?

string | $ZodErrorMap<$ZodIssueInvalidStringFormat>

message?

string

Deprecated

This parameter is deprecated. Use error instead.

Returns

$ZodCheckEndsWith