Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99418945
transform.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 24, 09:38
Size
518 B
Mime Type
text/x-java
Expires
Sun, Jan 26, 09:38 (2 d)
Engine
blob
Format
Raw Data
Handle
23788744
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
transform.d.ts
View Options
import type { CodeKeywordDefinition } from "ajv";
declare type TransformName = "trimStart" | "trimEnd" | "trimLeft" | "trimRight" | "trim" | "toLowerCase" | "toUpperCase" | "toEnumCase";
interface TransformConfig {
hash: Record<string, string | undefined>;
}
declare type Transform = (s: string, cfg?: TransformConfig) => string;
declare const transform: {
[key in TransformName]: Transform;
};
declare const getDef: (() => CodeKeywordDefinition) & {
transform: typeof transform;
};
export default getDef;
Event Timeline
Log In to Comment