mirror of
https://github.com/ASzc/change-string-case-action.git
synced 2024-11-24 03:23:51 +08:00
16 lines
403 B
JavaScript
16 lines
403 B
JavaScript
|
import {
|
||
|
paginatingEndpoints
|
||
|
} from "./generated/paginating-endpoints";
|
||
|
import { paginatingEndpoints as paginatingEndpoints2 } from "./generated/paginating-endpoints";
|
||
|
function isPaginatingEndpoint(arg) {
|
||
|
if (typeof arg === "string") {
|
||
|
return paginatingEndpoints.includes(arg);
|
||
|
} else {
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
export {
|
||
|
isPaginatingEndpoint,
|
||
|
paginatingEndpoints2 as paginatingEndpoints
|
||
|
};
|