To find if you are running client or server side.
if (isRunningOnServer())
{
info('Server side');
}
else
{
info('Client side');
}
All things Microsoft Dynamics 365 Finance and Operations
if (isRunningOnServer())
{
info('Server side');
}
else
{
info('Client side');
}