For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

LogicalNameLike

Type reference for LogicalNameLike in the Rippling SDK, including its public shape and related types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Returns never when the provided string is not a logical snake_case name.

Type definition​

type LogicalNameLike<TName extends string> = string extends TName ? string : TName extends `${string}__c` ? never : TName extends Lowercase<TName> ? TName extends (`${string}-${string}` | `${string} ${string}` | `${string}.${string}` | `${string}/${string}`) ? never : TName extends `${infer First}${string}` ? First extends LowerAlpha ? TName : never : never : never;