6 lines
160 B
TypeScript
6 lines
160 B
TypeScript
|
import type { Field } from "../types/types";
|
||
|
|
||
|
const getFieldIdentifier = (field: Field) => field.identifier || field.label;
|
||
|
|
||
|
export default getFieldIdentifier;
|